<div style="background-color:#CCC;width:800px;">
<table width="100%" border="0" cellpadding="5" cellspacing="1">
<?php
if($res)
{
	echo "<tr>
		<td>UID</td>
		<td>平台UID</td>
		<td>昵称</td>
		<td>阵营</td>
		<td>经验</td>
		<td>金币</td>
		<td>MB</td>
		<td>身价</td>
		<td>操作</td>
		</tr>";
	foreach($res as $row)
	{
		echo "<tr>
		<td>{$row['base']['uid']}</td>
		<td>{$row['base']['oid']}</td>
		<td>{$row['base']['name']}</td>
		<td>{$row['ext']['side']}</td>
		<td>{$row['ext']['xp']}</td>
		<td>{$row['ext']['gb']}</td>
		<td>{$row['ext']['mb']}</td>
		<td>{$row['ext']['price']}</td>
		<td>
		<a href=\"?c=admin&a=useredit&uid={$row['base']['uid']}\">修改</a>
		<a href=\"?c=admin&a=herolist&uid={$row['base']['uid']}\">英雄列表</a>
		<a href=\"?c=admin&a=hgrouplist&uid={$row['base']['uid']}\">阵型列表</a>
		<a href=\"?c=admin&a=stufflist&uid={$row['base']['uid']}\">物品列表</a>
		<a href=\"?c=admin&a=equiplist&uid={$row['base']['uid']}\">装备列表</a>
		</td>
		</tr>";
	}
}
?>
</table>
</div>